/*
 * MWS Admin v2.0.2 - Dashboard Demo JS
 * This file is part of MWS Admin, an Admin template build for sale at ThemeForest.
 * All copyright to this file is hold by Mairel Theafila <maimairel@yahoo.com> a.k.a nagaemas on ThemeForest.
 * Last Updated:
 * October 21, 2012
 *
 */

;(function( $, window, document, undefined ) {

    $(document).ready(function () {

            // Data Tables
            if ($.fn.dataTable) {
                var oTable = $(".mws-datatable").dataTable({
                    "bProcessing": true,
                    "bFilter": true,
                    "bInfo": true,
                    "aaSorting": [[ 0, "desc" ]],
                    "aoColumns": [
                    null,
                    null,
                    null,
                    null
                ]
                });
                oTable.fnFilterOnReturn();
            }

            window.prettyPrint && prettyPrint();

            // jQuery-UI Tabs
            $.fn.tabs && $(".mws-tabs").tabs();
        });

}) (jQuery, window, document);